package com.zhidisoft.service;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.zhidisoft.admin.service.IArticleService;
import com.zhidisoft.admin.vo.PageVo;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"classpath:applicationContext.xml"})
public class ArticleService {

	@Autowired
	IArticleService articleService;
	
	@Test
	public void getGetList(){
		PageVo vo = articleService.findPage(1, 2);
		System.out.println(vo.toString());
	}
	
}
